package com.naiterui.ehp.bs.b2c.order.repository;


import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.b2c.order.entity.LogisticsOrder;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import org.springframework.stereotype.Repository;

@Repository
public interface ILogisticsOrderRepository extends BaseJpaRepository<LogisticsOrder, Long> {

    LogisticsOrder findByDeliveryId(String deliveryId);

    LogisticsOrder findByOrderId(Long orderId);

    List<LogisticsOrder> findByOrderIdIn(Set<Long> orderIds);

    List<LogisticsOrder> findByOrderIdIn(Collection<Long> orderIds);
}
